<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../skin/pub/css/font-awesome.min.css">
    <link rel="stylesheet" href="../skin/pub/css/bootstrap.css">
    <link rel="stylesheet" href="../skin/css/examinations.css">
    <title>精准测评</title>
</head>
<body>
    <input type="hidden" name="exam_id" value="1">
    <div class="eva-header">
        <h3>第一部分 听力 （共15题，每题2分，共30分）</h3>
    </div>
    <div class="panel panel-default">
        <div class="panel-heading"><h4>第一节  听句子，根据句子内容，从A、B、C三个选项中选出恰当的图片，并将其标号填入答题卡相应位置。每个句子读两遍。</h4></div>
        <div class="panel-body">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title"><a href="#" class="btn btn-primary disabled" role="button">1</a></h3>
                </div>
                <div class="panel-body">
                    <div class="row">
                        <div class="col-md-4 listening-select">
                            <img src="../skin/img/q1imgA.png" alt="A" width="140" height="140" class="img-rounded">
                            <div class="radio">
                                <label>
                                    <input type="radio" name="qid-1" value="A"> A
                                </label>
                            </div>
                        </div>
                        <div class="col-md-4 listening-select">
                            <img src="../skin/img/q1imgB.png" alt="B" width="140" height="140" class="img-rounded">
                            <div class="radio">
                                <label>
                                    <input type="radio" name="qid-1"
                                           value="B"> B
                                </label>
                            </div>
                        </div>
                        <div class="col-md-4 listening-select">
                            <img src="../skin/img/q1imgC.png" alt="C" width="140" height="140" class="img-rounded">
                            <div class="radio">
                                <label>
                                    <input type="radio" name="qid-1"
                                           value="C"> C
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title"><a href="#" class="btn btn-primary disabled" role="button">2</a></h3>
                </div>
                <div class="panel-body">
                    <div class="row">
                        <div class="col-md-4 listening-select">
                            <img src="../skin/img/q2imgA.png" alt="A" width="140" height="140" class="img-rounded">
                            <div class="radio">
                                <label>
                                    <input type="radio" name="optionsRadios" id="optionsRadiosA"
                                           value="option1"> A
                                </label>
                            </div>
                        </div>
                        <div class="col-md-4 listening-select">
                            <img src="../skin/img/q2imgB.png" alt="B" width="140" height="140" class="img-rounded">
                            <div class="radio">
                                <label>
                                    <input type="radio" name="optionsRadios" id="optionsRadiosB"
                                           value="option1"> B
                                </label>
                            </div>
                        </div>
                        <div class="col-md-4 listening-select">
                            <img src="../skin/img/q2imgC.png" alt="C" width="140" height="140" class="img-rounded">
                            <div class="radio">
                                <label>
                                    <input type="radio" name="optionsRadios" id="optionsRadiosC"
                                           value="option1"> C
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title"><a href="#" class="btn btn-primary disabled" role="button">3</a></h3>
                </div>
                <div class="panel-body">
                    <div class="row">
                        <div class="col-md-4 listening-select">
                            <img src="../skin/img/q3imgA.png" alt="A" width="140" height="140" class="img-rounded">
                            <div class="radio">
                                <label>
                                    <input type="radio" name="optionsRadios"
                                           value="option1"> A
                                </label>
                            </div>
                        </div>
                        <div class="col-md-4 listening-select">
                            <img src="../skin/img/q3imgB.png" alt="B" width="140" height="140" class="img-rounded">
                            <div class="radio">
                                <label>
                                    <input type="radio" name="optionsRadios"
                                           value="option1"> B
                                </label>
                            </div>
                        </div>
                        <div class="col-md-4 listening-select">
                            <img src="../skin/img/q3imgC.png" alt="C" width="140" height="140" class="img-rounded">
                            <div class="radio">
                                <label>
                                    <input type="radio" name="optionsRadios"
                                           value="option1"> C
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <nav class="navbar navbar-default navbar-fixed-bottom">
        <div class="container">
            <p class="navbar-text navbar-right"><button type="button" id="submit" class="btn btn-primary">交卷</button></p>
        </div>
    </nav>
<script src="../skin/pub/js/jquery-1.11.3.min.js"></script>
<script src="../skin/pub/layer/layer.js"></script>
<script>
    $(document).ready(function(){
        setCookie("uid","uid","h1");
        setCookie("username","linxiao","h1");
        var username = getCookie("username");
        var uid = getCookie("uid");
        if(username==null||uid==null){
            layer.confirm('您未登录系统，请登录系统。', {
                btn: ['确定'], //按钮
                shade: 1
            }, function(){
                window.open("login.html","_self");
            });
        }

    });
    //写cookies
    //    function setCookie(c_name, value, expiredays){
    //        var exdate=new Date();
    //        exdate.setDate(exdate.getDate() + expiredays);
    //        document.cookie=c_name+ "=" + escape(value) + ((expiredays==null) ? "" : ";expires="+exdate.toGMTString());
    //    }
    function setCookie(name,value,time){
        var strsec = getsec(time);
        var exp = new Date();
        exp.setTime(exp.getTime() + strsec*1);
        document.cookie = name + "="+ escape (value) + ";expires=" + exp.toGMTString();
    }
    function getsec(str){
        var str1=str.substring(1,str.length)*1;
        var str2=str.substring(0,1);
        if (str2=="s"){
            return str1*1000;
        }else if (str2=="h"){
            return str1*60*60*1000;
        }else if (str2=="d"){
            return str1*24*60*60*1000;
        }
    }
    //读取cookies
    function getCookie(name)
    {
        var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");

        if(arr=document.cookie.match(reg))

            return (arr[2]);
        else
            return null;
    }

    //删除cookies
    function delCookie(name)
    {
        var exp = new Date();
        exp.setTime(exp.getTime() - 1);
        var cval=getCookie(name);
        if(cval!=null)
            document.cookie= name + "="+cval+";expires="+exp.toGMTString();
    }


</script>
</body>
</html>